import request from '@/utils/request'

/**
 * 初始化/查询
 * @param data
 * @returns {AxiosPromise}
 */
export function initOrSearch() {
  return request({
    url: '/teacherAdditionalInfo/initReturnInfo',
    method: 'POST'
  })
}

/**
 * 修改信息
 * @returns {AxiosPromise}
 */
export function updateInfo(data) {
  return request({
    url: '/teacherAdditionalInfo/updateInfo',
    method: 'POST',
    data
  })
}
